Hi David,
KFLOP saves the Soft Limits as a single precision floating point number (almost 7 digits of precision). Exponents for single precision numbers are limited to ~38. 50 would be an invalid number and isn't handled correctly.
Probably a billion counts would be enough in your case. So set to 1e9 and -1e9.
Regards TK
Group: DynoMotion |
Message: 10951 |
From: David Stevenson |
Date: 1/29/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi Tom,
I knew it would be something simple and yes, I could manage with
only a billion. :}
Thanks again,
David.
On 1/29/2015 1:16 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
KFLOP saves the
Soft Limits as a single precision floating point
number (almost 7 digits of precision). Exponents for
single precision numbers are limited to ~38. 50 would
be an invalid number and isn't handled correctly.
Probably a
billion counts would be enough in your case. So set
to 1e9 and -1e9.
Regards
TK
Group: DynoMotion |
Message: 10952 |
From: Tom Kerekes |
Date: 1/29/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi David,
heh heh 10^50 counts would probably be in the next Universe over :}
TK From: "David Stevenson david.m.stevenson@... [DynoMotion]" <DynoMotion@yahoogroups.com> To: DynoMotion@yahoogroups.com Sent: Thursday, January 29, 2015 10:20 AM Subject: Re: [DynoMotion] Soft Limits Programming Issue
Hi Tom,
I knew it would be something simple and yes, I could manage with
only a billion. :}
Thanks again,
David.
On 1/29/2015 1:16 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
KFLOP saves the
Soft Limits as a single precision floating point
number (almost 7 digits of precision). Exponents for
single precision numbers are limited to ~38. 50 would
be an invalid number and isn't handled correctly.
Probably a
billion counts would be enough in your case. So set
to 1e9 and -1e9.
Regards
TK
Group: DynoMotion |
Message: 10953 |
From: David Stevenson |
Date: 1/29/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi Tom,
I'm pretty sure I would have a ballscrew issue before a soft limit
one, in that case. :oO
Anyhow, I changed the softlimits on that axis (Z) and also A to
+/-1e+009 (the others were at +/-1e+030), but still can't shake that
error. Did full restart, power down, etc. Does it make a difference
with A and Z being stepper motors? X and Y in this case are servos
and A and Z are steppers.
Thanks,
David.
On 1/29/2015 1:26 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
heh heh 10^50
counts would probably be in the next Universe over :}
TK
Hi Tom,
I knew it would be something simple and
yes, I could manage with only a
billion. :}
Thanks again,
David.
On
1/29/2015 1:16 PM, Tom Kerekes tk@...
[DynoMotion] wrote:
Hi David,
KFLOP saves the Soft
Limits as a single precision
floating point number (almost
7 digits of precision).
Exponents for single precision
numbers are limited to ~38.
50 would be an invalid number
and isn't handled correctly.
Probably a billion
counts would be enough in your
case. So set to 1e9 and -1e9.
Regards
TK
Group: DynoMotion |
Message: 10954 |
From: Tom Kerekes |
Date: 1/29/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi David,
Please post your Init C file for us to look at.
Regards TK From: "David Stevenson david.m.stevenson@... [DynoMotion]" <DynoMotion@yahoogroups.com> To: DynoMotion@yahoogroups.com Sent: Thursday, January 29, 2015 1:33 PM Subject: Re: [DynoMotion] Soft Limits Programming Issue
Hi Tom,
I'm pretty sure I would have a ballscrew issue before a soft limit
one, in that case. :oO
Anyhow, I changed the softlimits on that axis (Z) and also A to
+/-1e+009 (the others were at +/-1e+030), but still can't shake that
error. Did full restart, power down, etc. Does it make a difference
with A and Z being stepper motors? X and Y in this case are servos
and A and Z are steppers.
Thanks,
David.
On 1/29/2015 1:26 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
heh heh 10^50
counts would probably be in the next Universe over :}
TK
Hi Tom,
I knew it would be something simple and
yes, I could manage with only a
billion. :}
Thanks again,
David.
On
1/29/2015 1:16 PM, Tom Kerekes tk@...
[DynoMotion] wrote:
Hi David,
KFLOP saves the Soft
Limits as a single precision
floating point number (almost
7 digits of precision).
Exponents for single precision
numbers are limited to ~38.
50 would be an invalid number
and isn't handled correctly.
Probably a billion
counts would be enough in your
case. So set to 1e9 and -1e9.
Regards
TK
Group: DynoMotion |
Message: 10955 |
From: David Stevenson |
Date: 1/29/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi Tom,
Here you go. Enjoy!
Best regards,
David.
On 1/29/2015 5:55 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
Please post your
Init C file for us to look at.
Regards
TK
Hi Tom,
I'm pretty sure I would have a ballscrew
issue before a soft limit one, in that
case. :oO
Anyhow, I changed the softlimits on that
axis (Z) and also A to +/-1e+009 (the
others were at +/-1e+030), but still
can't shake that error. Did full
restart, power down, etc. Does it make a
difference with A and Z being stepper
motors? X and Y in this case are servos
and A and Z are steppers.
Thanks,
David.
On
1/29/2015 1:26 PM, Tom Kerekes tk@...
[DynoMotion] wrote:
Hi David,
heh heh 10^50 counts
would probably be in the next
Universe over :}
TK
Hi Tom,
I knew it would
be something
simple and yes,
I could manage
with only a
billion. :}
Thanks again,
David.
On
1/29/2015 1:16
PM, Tom
Kerekes tk@...
[DynoMotion]
wrote:
Hi
David,
KFLOP
saves the Soft
Limits as a
single
precision
floating point
number (almost
7 digits of
precision).
Exponents for
single
precision
numbers are
limited to
~38. 50 would
be an invalid
number and
isn't handled
correctly.
Probably
a billion
counts would
be enough in
your case. So
set to 1e9 and
-1e9.
Regards
TK
Group: DynoMotion |
Message: 10956 |
From: Tom Kerekes |
Date: 1/30/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi David,
The soft limits all look correct to me. Did you ever resolve this? Are you sure you are really using this file? As a sanity check I sometimes rename the file I think is being used. If I then get an error I know it really is the one being used.
Is your homing routine changing the Soft Limits?
After you get the +Z Soft Limit error you might also "Upload" the Z Axis to KMotion.exe to check the Soft Limit + value is as expected on the Screen.
HTH Regards TK
Group: DynoMotion |
Message: 10958 |
From: David Stevenson |
Date: 1/30/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi Tom,
I haven't resolved this. I renamed the file to post, but I am sure
it's the one running. I will triple check using your suggestion.
That file is also the homing routine.
I will try the upload suggestion too.
Thank you,
David.
On 1/30/2015 2:26 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
The soft limits
all look correct to me. Did you ever resolve this?
Are you sure you are really using this file? As a
sanity check I sometimes rename the file I think is
being used. If I then get an error I know it really
is the one being used.
Is
your homing routine changing the Soft Limits?
After you get
the +Z Soft Limit error you might also "Upload" the Z
Axis to KMotion.exe to check the Soft Limit + value is
as expected on the Screen.
HTH
Regards
TK
Group: DynoMotion |
Message: 10962 |
From: David Stevenson |
Date: 1/30/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi Tom,
I did confirm that the file I posted was indeed the one initializing
the machine.
Once the machine homed I uploaded the Z axis and the soft limits
were as expected.
I am attaching a screenshot of the error message in case I didn't
describe it appropriately previously. I though it may give some
clues.
Thank you,
David.
On 1/30/2015 2:26 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi David,
The soft limits
all look correct to me. Did you ever resolve this?
Are you sure you are really using this file? As a
sanity check I sometimes rename the file I think is
being used. If I then get an error I know it really
is the one being used.
Is
your homing routine changing the Soft Limits?
After you get
the +Z Soft Limit error you might also "Upload" the Z
Axis to KMotion.exe to check the Soft Limit + value is
as expected on the Screen.
HTH
Regards
TK
Group: DynoMotion |
Message: 10977 |
From: Tom Kerekes |
Date: 2/2/2015 |
Subject: Re: Soft Limits Programming Issue [1 Attachment] |
Hi David,
I'm not able to reproduce the problem. Could you possibly have a huge Z offset of some type (Tool length, Fixture, or axis)?
If you select to display Machine Coordinates do the DRO's remain zero?
Anything odd in the Tool Table or Offsets Table?
I've attached your Init file modified to work without any hardware. Please try it so we are both doing exactly the same thing. Power up KFLOP with all motor power off (and even disconnected if necessary). Initialize. Then run KMotionCNC, Load box10.ngc exmple. Then Cycle Start. Do you get any error?
Regards TK
Group: DynoMotion |
Message: 10982 |
From: David Stevenson |
Date: 2/2/2015 |
Subject: Re: Soft Limits Programming Issue |
Hi Tom,
I double checked and there are no offsets set.
The DRO's also do not change when Machine Coordinates are selected.
The only tool offsets are the example ones in KMotionCNC.
I disconnected the drives and ran your file in KMotion. It did not
complete within, about 5 minutes, so I halted it. I did take a
screenshot before I halted it, so you could see it.
Thanks for your help with this,
David.
On 2/2/2015 11:35 AM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi
David,
I'm not able to
reproduce the problem. Could you possibly have a huge
Z offset of some type (Tool length, Fixture, or axis)?
If you select
to display Machine Coordinates do the DRO's remain
zero?
Anything odd in
the Tool Table or Offsets Table?
I've attached
your Init file modified to work without any hardware.
Please try it so we are both doing exactly the same
thing. Power up KFLOP with all motor power off (and
even disconnected if necessary). Initialize. Then
run KMotionCNC, Load box10.ngc exmple. Then Cycle
Start. Do you get any error?
Regards
TK
Group: DynoMotion |
Message: 10996 |
From: Tom Kerekes |
Date: 2/2/2015 |
Subject: Re: Soft Limits Programming Issue [1 Attachment] |
Hi David,
The Console Screen indicates a Following Error on Axis 0. Could you analyze the reason?
Also in the GCode the error seems to occur after your M101. What does your M101 do? Does it have the error with it removed?
Regards TK
| | | | | | | | | | | | | | | | | | | | | | | |